package org.samoji.sji.tokenizer;

import java.math.BigDecimal;

public class NumToken extends Token {
	private BigDecimal value;
	
	public NumToken(String type, String description, BigDecimal value) {
		super(type, description);
		
		this.value = value;
	}

	@Override
	public String toString() {
		StringBuffer s = new StringBuffer(super.toString());
		return s.append("\nValue: " + this.value).toString();
	}
	
	public BigDecimal getValue() {
		return this.value;
	}
}